package com.tensquare.article.service;

import com.tensquare.article.dao.ArticleDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author: Feng.Wang
 * @Company: Zelin.ShenZhen
 * @Description:
 * @Date: Create in 2019/3/23 17:47
 */
@Service
public class ArticleService {
    @Autowired
    private ArticleDao articleDao;
    @Transactional
    public void examine(String id){
        articleDao.examine(id);
    }
}
